package com.xiyin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiyin.entity.UserSqlInjector;
import com.xiyin.mapper.UserSqlInjectorMapper;
import com.xiyin.service.IUserSqlInjectorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xukaihang
 * @since 2024-08-18
 */
@Service
public class UserSqlInjectorServiceImpl extends ServiceImpl<UserSqlInjectorMapper, UserSqlInjector> implements IUserSqlInjectorService {

    @Autowired
    private UserSqlInjectorMapper userSqlInjectorMapper;
    @Override
    public List<UserSqlInjector> zidingyisql() {
        return userSqlInjectorMapper.selectAll();
    }

    @Override
    public List<UserSqlInjector> dynamicSelect(UserSqlInjector user) {
        return userSqlInjectorMapper.dynamicSelect(user);
    }
}
